<!-- Sidebar Begin-->
<div class="sidebar">
  <ul>
    <!-- Products begin -->
    <li>
      <h3>产品分类</h3>
      <ul class="sub">
<?php
$args = array(
  'child_of' => 4,
  'orderby' => 'name',
  'hide_empty' => false,
  'order' => 'ASC'
  );
$categories=get_categories($args);
foreach($categories as $category) {
	echo '<li class="cat-item cat-item-'.$category->term_id.'"><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a>  </li>';
} 
?>
      </ul>
    </li>
    <!-- Products end -->
    <!-- Contact begin -->
    <li class="widget widget_text">
      <div class="textwidget"> <a href="http://www.hzlixiu.com/contact-us/"><img src="<?php bloginfo('template_url');?>/images/contact-us_sidebar.jpg"/></a> </div>
    </li>
    <!-- Contact end -->
  </ul>
</div>
<!-- Sidebar end-->


